package com.dianjing.dianqun.common.exception;
/**
 * 
 * 异常返回实体包装
 * @author baoyongtao
 *
 */

public class ExceptionResponse {

	private String message;
	private String type;
	private String title;
	private Integer code;

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public ExceptionResponse(String message, String type, String title, Integer code) {
		super();
		this.message = message;
		this.type = type;
		this.title = title;
		this.code = code;
	}

}
